<%@taglib prefix="s" uri="/struts-tags" %>
<div class="page">
	<div class="pageContent">
		<form method="post" action="articleMng!editArticle.action" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
			<div class="pageFormContent" layoutH="56">
			<div class="panel collapse">
				<h1>基本信息</h1>
				<div>
					<table width="90%" >					
						<tr height="35px">
							<td width="5%">&nbsp;</td>
							<td width="5%">
								栏&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;目：
							</td>
							<td width="80%">
								<s:property value="article.columnId" />
							</td>
						</tr>
						<tr height="35px">
							<td>&nbsp;</td>
							<td>
								标&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;题：
							</td>
							<td>
								<input type="hidden" name="article.nid" value="<s:property value="article.nid"/>" />
								<input type="text" name="article.title" size="100" value="<s:property value="article.title"/>"/>
							</td>
						</tr>
						
						<tr height="35px">
							<td>&nbsp;</td>
							<td>
								作&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;者：
							</td>
							<td>
								<input type="text" name="article.author" value="<s:property value="article.author" />"/>
							</td>
						</tr>
						<tr height="35px">
							<td>&nbsp;</td>
							<td>
								发布时间：
							</td>
							<td>
								<input type="text" name="article.postTime" format="yyyy-MM-dd HH:mm:ss" class="date" value="<s:property value="postTime" />"/>
								<a class="inputDateButton" href="#">选择</a>
							</td>
						</tr>
						<tr height="60px">
							<td>&nbsp;</td>
							<td>
								Tag标签：
							</td>
							<td>
								<textarea cols="80" name="article.includeTags" rows="2"></textarea>
							</td>
						</tr>
						<tr>
							<td>&nbsp;</td>
							<td colspan="2">
							<textarea class="editor" name="article.content" rows="20" cols="100"
										upLinkUrl="uploadAction!uploadFile" upLinkExt="zip,rar,txt" 
										upImgUrl="uploadAction!uploadImg" upImgExt="jpg,jpeg,gif,png" 
										upFlashUrl="uploadAction!uploadSwf" upFlashExt="swf"
										upMediaUrl="uploadAction!uploadAvi" upMediaExt:"avi">
									<s:property value="article.content" />
							</textarea>
							</td>
						</tr>
					</table>
				</div>
			</div>
			
			<div class="panel close collapse" defH="150">
				<h1>更多选项</h1>
				<div>
					<table width="90%" >
						<tr height="35px">
							<td width="5%">&nbsp;</td>
							<td width="5%">
								置&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;顶：
							</td>
							<td width="80%">
								<input type="checkbox" name="article.isTop" value="true" />
							</td>
						</tr>
						<tr height="35px">
							<td>&nbsp;</td>
							<td>
								来&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;源：
							</td>
							<td>
								<input type="text" name="article.articleFrom" size="100"/> 
							</td>
						</tr>
						<tr height="35px">
							<td>&nbsp;</td>
							<td>
								来源URL：
							</td>
							<td>
								<input type="text" name="article.fromUrl" size="100" class="url"/>
								<span class="info">http://</span>
							</td>
						</tr>
						<tr height="60px">
							<td>&nbsp;</td>
							<td>
								Tag标签：
							</td>
							<td>
								<textarea cols="80" name="article.relativeTags" rows="2"></textarea>
							</td>
						</tr>
					</table>
				</div>
			</div>
			</div>
			
			<div class="formBar">
				<ul>
					<!--<li><a class="buttonActive" href="javascript:void(0)"><span>保存</span></a></li>-->
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
					<li>
						<div class="button"><div class="buttonContent"><button type="Button" onclick="navTab.closeCurrentTab()">取消</button></div></div>
					</li>
				</ul>
			</div>
		</form>
	</div>
</div>